<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * app_digest_model.php
 *
 * @author  :  Skiychan <developer@zzzzy.com>
 * @created :  2015/4/29
 * @modified:  
 * @version :  0.0.1
 */
class App_digest_model extends MY_Model {


    public function get_digest($type) {
        if (empty($type)) return NULL;

        $where = array(
            'file_type_id' => $type
        );
        return $this->db->get_where(self::TB_APP_DIGEST, $where)->result_array();
    }
}
/* End of file app_digest_model.php */
/* Location: ./application/models/app_digest_model.php */